oracle

推荐列表 站点导航

当前位置:首页 > 数据库 > oracle >

Oracle学习笔记(六)

来源:网络整理  作者:网络  发布时间:2020-12-13 07:05
最近需要用的oracle,所以大家好好的学习下基础并整理下资料,希望能帮助到需要的朋友。...
instance有memory structure 和 background process 组成。
1、使用ODCA(oracle database configuration assistant)创建数据库 shutdown、nomount、mount、open
三、创建一个Oracle数据库
alter log file——alertsid.log
show parameter db_cache;
recovery
Process 包括User process、Server process、Background process;
开启数据库Starting Up a Database
初始参数文件init parameter file——initsid.ora
create tablespace test1 datafile='d:\12.dbf' size 3M;
v$system_parameter动态性能表
alter database db_01 mount;
restrict
oracle服务器有Oracle instace 和Oracle database
1、创建和管理初始参数文件initialization parameter files
:删除数据库
创建spfile

databasey有data file 和 log file 和 control file组成。
修改数据库指令( alter database command)
alter system set shared_pool_size=65M;
2、configure omf

create spfile='d:\spfile.ora' from pfile;

二、管理数据库实例
nomount——startup instance


create spfile from pfile
startup [nomount|mount|open]
database逻辑结构:表空间(tablespaces)、段(segments)、分区(extents)、块(blocks)
SGA包括:Database buffer cache 和 Redo log buffer cache.
show sga;
show parameter shared;
pfile=

used to create db,create controlfile
memory structure包括shared pool、 SGA(System Global Area).
alter database db_01 open read only;
放置位置在oracle安装目录下database文件下

参数分:显示参数explicit、隐式参数implicit、动态、静态
4、监视和使用diagnostic files
show parameter log;
关闭数据库Shutting Down the Database
used to change log mode,rename file,db recovery...
ODCA(Oracle Database Configuration Assistant)


1、改变数据库从nomount状态为mount;

2、打开一个只读的数据库
force
创建表空间
:管理数据库模板
mount——open controlfile
系统参数文件system parameter file——spfilesid,spfile
:配置数据库选项
background tace file、use trace files
一、oracle
3、开启和关闭数据库
:创建数据库
shutdown mode:normal、transactional、immediate、abort

相关热词: oracle

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/sql/oracle/3214.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

Oracle学习笔记(六)

2020-12-13 编辑:网络

instance有memory structure 和 background process 组成。
1、使用ODCA(oracle database configuration assistant)创建数据库 shutdown、nomount、mount、open
三、创建一个Oracle数据库
alter log file——alertsid.log
show parameter db_cache;
recovery
Process 包括User process、Server process、Background process;
开启数据库Starting Up a Database
初始参数文件init parameter file——initsid.ora
create tablespace test1 datafile='d:\12.dbf' size 3M;
v$system_parameter动态性能表
alter database db_01 mount;
restrict
oracle服务器有Oracle instace 和Oracle database
1、创建和管理初始参数文件initialization parameter files
:删除数据库
创建spfile

databasey有data file 和 log file 和 control file组成。
修改数据库指令( alter database command)
alter system set shared_pool_size=65M;
2、configure omf

create spfile='d:\spfile.ora' from pfile;

二、管理数据库实例
nomount——startup instance


create spfile from pfile
startup [nomount|mount|open]
database逻辑结构:表空间(tablespaces)、段(segments)、分区(extents)、块(blocks)
SGA包括:Database buffer cache 和 Redo log buffer cache.
show sga;
show parameter shared;
pfile=

used to create db,create controlfile
memory structure包括shared pool、 SGA(System Global Area).
alter database db_01 open read only;
放置位置在oracle安装目录下database文件下

参数分:显示参数explicit、隐式参数implicit、动态、静态
4、监视和使用diagnostic files
show parameter log;
关闭数据库Shutting Down the Database
used to change log mode,rename file,db recovery...
ODCA(Oracle Database Configuration Assistant)


1、改变数据库从nomount状态为mount;

2、打开一个只读的数据库
force
创建表空间
:管理数据库模板
mount——open controlfile
系统参数文件system parameter file——spfilesid,spfile
:配置数据库选项
background tace file、use trace files
一、oracle
3、开启和关闭数据库
:创建数据库
shutdown mode:normal、transactional、immediate、abort

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/sql/oracle/3214.shtml

相关文章

风云图片

推荐阅读

返回oracle频道首页